home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 1352 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  852 b 

  1. Path: xenon.xe.com!news
  2. From: Marty_e34_535i <m@labelview.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Spool File Problem under NT
  5. Date: 10 Jan 1996 16:55:26 GMT
  6. Organization: XeNet   Xenon Laboratories
  7. Message-ID: <4d0r1u$mhl@xenon.xe.com>
  8. NNTP-Posting-Host: dialin8.xe.net
  9.  
  10. Gentlemen,
  11.  
  12. My 16-bit application fails when running under Windows NT 
  13. in two places, both of which involve trying to send a file
  14. to a COM port.
  15.  
  16. 1.  SpoolFile() returns 0, instead of a handle.  This return
  17.     code is not documented.  SpoolFile() works fine under 
  18.     Windows 3.11, and under Windows 95, I had to swap the 
  19.     first two parameters to get it to work.  I've tried 
  20.     swapping and unswapping and neither work.
  21.  
  22. 2.  OpenComm() returns IE_MEMORY (-4), which means "the
  23.     function cannot allocate the queue".
  24.  
  25. Please advise on either matter.
  26.  
  27. Thanks,
  28. Joe Nigro
  29.  
  30.  
  31.  
  32.